package com.youjia.service;

import com.youjia.mapper.ItemShoppingMapper;
import com.youjia.pojo.ItemShopping;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ItemShoppingServiceImpl implements ItemShoppingService {
    @Autowired
    private ItemShoppingMapper itemShoppingMapper;


    @Override
    public List<ItemShopping> getItemShoppingList(Integer userId) {
        return itemShoppingMapper.getItemShoppingList(userId);
    }
}
